package jnpf.service;


import jnpf.mapper.UpdateMapper;
import jnpf.model.UpdateMeeting.dto.MeetingUpdateDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UpdateService {

    @Autowired
    private UpdateMapper updateMapper;

    public boolean updateMeeting(MeetingUpdateDTO meetingUpdateDTO) {
        Integer result = updateMapper.updateMeeting(meetingUpdateDTO);
        boolean flag = false;
        if (result == 1) {
            flag = true;
        }
        return flag;
    }
}
